#!/usr/bin/python3
# -*- coding: utf-8 -*-
import pytest
import os

# pytest.main(['./common/get_app_token.py'])
# os.system("rm -rf ./report/reportallure /s/q")
# pytest.main(['./testCase', '--alluredir', './report/reportallure'])
# allure generate ./reportallure/ -o ./reporthtml/ --clean
pytest.main([r'D:\python\Scripts\project\零售APP\testCase\test_case.py', '--alluredir', './report/reportallure'])
os.system(r'allure generate D:\python\Scripts\project\零售APP\report\reportallure/ -o '
          r'D:\python\Scripts\project\零售APP\report\reporthtml/ --clean')
